import request from '@/utils/request'

//管理员的申请管理页面
export const showApplication = () => {
  return request({
    url: '/admin-bank/airui/api/depositType/showApplication',
    method: 'get',
  })
}

//管理员确认申请
export const confirmApplication = id => {
  return request({
    url: '/admin-bank/airui/admin/api/approved?id=' + id,
    method: 'get',
  })
}

//管理员拒绝申请
export const rejectApplication = id => {
  return request({
    url: '/admin-bank/airui/admin/api/refuse?id=' + id,
    method: 'get',
  })
}
